[INFO] cloning repository https://github.com/krcz/advent-of-code-2020.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krcz/advent-of-code-2020.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrcz%2Fadvent-of-code-2020.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrcz%2Fadvent-of-code-2020.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fad6552319dcf7a498e1344bfddd8021a9d4d9bd
[INFO] checking krcz/advent-of-code-2020.rs against try#34585ff556bad2462429cd3775623c743928a72f for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrcz%2Fadvent-of-code-2020.rs" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/krcz/advent-of-code-2020.rs on toolchain 34585ff556bad2462429cd3775623c743928a72f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/krcz/advent-of-code-2020.rs
[INFO] finished tweaking git repo https://github.com/krcz/advent-of-code-2020.rs
[INFO] tweaked toml for git repo https://github.com/krcz/advent-of-code-2020.rs written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/krcz/advent-of-code-2020.rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6078bc77d68fb2e9d816f938681152561494beaab3d7eb75edd71ac86b0c7b28
[INFO] running `Command { std: "docker" "start" "-a" "6078bc77d68fb2e9d816f938681152561494beaab3d7eb75edd71ac86b0c7b28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6078bc77d68fb2e9d816f938681152561494beaab3d7eb75edd71ac86b0c7b28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6078bc77d68fb2e9d816f938681152561494beaab3d7eb75edd71ac86b0c7b28", kill_on_drop: false }`
[INFO] [stdout] 6078bc77d68fb2e9d816f938681152561494beaab3d7eb75edd71ac86b0c7b28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83982b0b4f0d9cb8d3f0057c818b401a41a638d6ac2fe55b383e32c8b03bd57f
[INFO] running `Command { std: "docker" "start" "-a" "83982b0b4f0d9cb8d3f0057c818b401a41a638d6ac2fe55b383e32c8b03bd57f", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking regex-syntax v0.6.21
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking fixedbitset v0.3.1
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking regex v1.4.2
[INFO] [stderr]     Checking advent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `my_ticket`
[INFO] [stdout]   --> src/day16a.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let my_ticket = parse_ticket(&(&mut lines).dropping(1).next().unwrap());
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_ticket`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]   --> src/day12a.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let (x, y, dir) = stdin
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FoldWhile`
[INFO] [stdout]   --> src/day09b.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use itertools::{FoldWhile, Itertools};
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FoldWhile`
[INFO] [stdout]   --> src/day09b.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use itertools::{FoldWhile, Itertools};
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)`
[INFO] [stdout]   --> src/day20a.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get_board(&self, rotation) -> Vec<Vec<char>> {
[INFO] [stdout]    |                                 ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]    |
[INFO] [stdout]    = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get_board(&self, rotation: TypeName) -> Vec<Vec<char>> {
[INFO] [stdout]    |                                 ++++++++++
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get_board(&self, _: rotation) -> Vec<Vec<char>> {
[INFO] [stdout]    |                         ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day20a.rs:35:42
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn rotate(board: &Vec<Vec<char>>) -> Vec<Vec<char>> {
[INFO] [stdout]    |        ------                            ^^^^^^^^^^^^^^ expected struct `Vec`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<Vec<char>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day20a.rs:38:38
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get_board(&self, rotation) -> Vec<Vec<char>> {
[INFO] [stdout]    |        ---------                     ^^^^^^^^^^^^^^ expected struct `Vec`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<Vec<char>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/day15a.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)`
[INFO] [stdout]   --> src/day20a.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get_board(&self, rotation) -> Vec<Vec<char>> {
[INFO] [stdout]    |                                 ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]    |
[INFO] [stdout]    = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get_board(&self, rotation: TypeName) -> Vec<Vec<char>> {
[INFO] [stdout]    |                                 ++++++++++
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get_board(&self, _: rotation) -> Vec<Vec<char>> {
[INFO] [stdout]    |                         ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent` due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/day13b.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/day17a.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut flat_board: Vec<Vec<char>> = stdin.lock().lines().map(|line| {
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/day13b.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let (g, (x, y)) = egcd(a as i64, n as i64);
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day20a.rs:35:42
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn rotate(board: &Vec<Vec<char>>) -> Vec<Vec<char>> {
[INFO] [stdout]    |        ------                            ^^^^^^^^^^^^^^ expected struct `Vec`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<Vec<char>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day20a.rs:38:38
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get_board(&self, rotation) -> Vec<Vec<char>> {
[INFO] [stdout]    |        ---------                     ^^^^^^^^^^^^^^ expected struct `Vec`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<Vec<char>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent` due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "83982b0b4f0d9cb8d3f0057c818b401a41a638d6ac2fe55b383e32c8b03bd57f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83982b0b4f0d9cb8d3f0057c818b401a41a638d6ac2fe55b383e32c8b03bd57f", kill_on_drop: false }`
[INFO] [stdout] 83982b0b4f0d9cb8d3f0057c818b401a41a638d6ac2fe55b383e32c8b03bd57f
